﻿using FreeSql;
using FYSJcrm.Core.Model.PermManage;
using System;
using System.Threading.Tasks;

namespace FYSJcrm.Core.IRepository.PermManage
{
    public interface IManagerRepository : IBaseRepository<ManagerEntity>
    {
        Task<bool> HasPermissionAsync(int adminUserId, string permissionName);
    }
}
